package com.example.android.architecture.blueprints.todoapp.taskdetail;

import com.example.android.architecture.blueprints.todoapp.tasks.TasksContract;

import dagger.Module;
import dagger.Provides;

/**
 * TODO: Add a class header comment!
 */
@Module
public class TaskDetailPresenterModule {

    public String taskId;
    public TasksContract.View view;

    public TaskDetailPresenterModule(String taskId,TasksContract.View view){
        this.taskId = taskId;
        this.view = view;
    }

    @Provides
    String providesTaskId(){
        return taskId;
    }

    @Provides
    TasksContract.View providesView(){
        return view;
    }
}
